IPTV session management

ABSTRACT

A session management involves registering at least one IPTV application ( 54 ) in a registration table ( 170 ) so that the registration table ( 170 ) comprises at least a respective identifier of the IPTV applications ( 54 ). The IPTV applications ( 54 ) are invokable at a set top box ( 50 ) and can be so-called embedded applications and/or browser-based applications. An event requiring the invocation of an IPTV application ( 54 ) at the set top box ( 50 ) is detected and triggers a look-up in the registration table ( 170 ). The registration table ( 170 ) is, thus, used as source to indicate those IPTV applications that are potentially available and can be launched at the set top box ( 50 ). One of the registered applications ( 54 ) and is launched for the purpose of handling the detected event.

TECHNICAL FIELD

The present embodiments generally relates to Internet Protocol Television (IPTV), and in particular to session management in connection with IPTV.

BACKGROUND

IPTV is an emerging system where digital television and multimedia services are delivered to set top boxes present in a home environment using IP over a network infrastructure. Today, IPTV is most often associated with Video on Demand (VoD) and live TV services. However, IPTV can also provide Internet services, such as web access and Voice over IP (VoIP). Another feature of IPTV is the opportunity for integration and convergence with other multimedia services. This opportunity is affected mainly by the IP Multimedia Subsystem (IMS), providing an architectural framework for delivering IP multimedia serves in the IPTV environment. Such IMS-based services that can be used with the set top boxes include chats and different messaging services allowing IPTV users to communicate with each other.

Today, set top boxes are generally pre-equipped with IPTV-related applications that are to be invoked during IPTV sessions and include, for instance, audio players, video players, chat applications, etc. The set top boxes can further be enhanced by downloading such applications after installation at the set top boxes in the IPTV home network. In either case, the set top boxes are therefore mainly configured to effectively handle such locally installed applications, denoted embedded or native applications within the technical field. There is, though, a general need for handling other types of applications besides traditional embedded applications in the set top boxes. The set top boxes of today are, however, not configured to be able to handle such other types of applications in an efficient manner.

SUMMARY

There is, thus, a need for a technique allowing set top boxes to handle and invoke also other types of applications besides embedded applications locally installed in the set top boxes. There is specially a need to enable identification of applications available at a set top box and can be invoked therein.

It is an objective to provide an efficient session management in an IPTV home network.

It is a particular objective to provide a technique for facilitating IPTV application selection and invocation in an IPTV session.

These and other objectives are met by embodiments as defined by the accompanying claims and further disclosed herein.

Briefly, a session managing method involves registering available IPTV-related applications in a registration table accessible to a set top box. These IPTV-related applications registered in the registration tables are applications that are available at the set top box and can be launched if necessary. The IPTV-related applications can be so called browser-based or web applications that are not installed in the set top box but rather run in a web browser. Alternatively, or additionally, the applications can be embedded applications that are installed in the set top box. The registration table preferably comprises as complete information set as possible of those IPTV-related applications that are either installed in the set top box or otherwise available as browser-based applications at the set top box.

The session managing method also comprises the detection of an IPTV-related event at the set top box requiring the invocation and activation of an IPTV-related application to handle the event. The registration table is then used as a look-up table by identifying those IPTV-related applications that are available for selection. Consequently, an IPTV-related application registered in the registration table is selected and preferably invoked at the set top box to manage the detected IPTV-related event.

Embodiments also relate to a session manager adapted for arrangement in a set top box. The session manager comprises an application register for registering IPTV-related applications available at the set top box in the registration table. An event detector is implemented for detecting any IPTV-related event requiring the invocation of an IPTV-related application. The event detector triggers an application selector implemented for selecting an IPTV-related application, which is registered by the application register and can be invoked to manage the event detected by the event detector.

The relevant IPTV-related event could be the reception of an unsolicited message or some other unplanned and unscheduled event that requires the activation of an IPTV-related application. A further non-limiting example is the need of a currently running IPTV-related application to activate another IPTV-related application to handle one or more tasks during an ongoing session.

The registration table of the embodiments constitutes an information source that allows a set top box and its included applications and functionalities to become aware of which IPTV-related applications are available at the set top box, in particular the so-called browser-based applications that are not locally installed in the set top box but run in a web browser. The registration table enables IPTV-related applications to activate and launch each other and further provides an efficient tool for handling unsolicited messages and other unexpected events that the set top box does not expect and consequently does not have any running and waiting application that are expecting the message or event.

BRIEF DESCRIPTION OF THE DRAWINGS

The embodiments, together with further objects and advantages thereof, may best be understood by making reference to the following description taken together with the accompanying drawings, in which:

FIG. 1 is a schematic overview of an IPTV distribution network;

FIG. 2 is a flow diagram illustrating a session managing method according to an embodiment;

FIG. 3 is a schematic illustration of a registration table according to an embodiment;

FIG. 4 is a flow diagram illustrating additional steps of the session managing method according to an embodiment;

FIG. 5 is a flow diagram illustrating an additional step of the session managing method according to an embodiment;

FIG. 6 is a schematic block diagram of a set top box (STB) according to an embodiment; and

FIG. 7 is a schematic block diagram of a session manager according to an embodiment.

DETAILED DESCRIPTION

Throughout the drawings, the same reference numbers are used for similar or corresponding elements.

Embodiments relates to the Internet Protocol Television (IPTV) and in particular to session management in an IPTV system or network.

FIG. 1 is a schematic overview of such an IPTV system basically comprising two interconnected networks, a home network 1 and a global network 2. The global network 2 can be a managed or proprietary network operated by a network operator. Alternatively, the global network 2 is a non-managed or open network, typically denoted Open Internet in the art. In either case, the global network 2 houses one or more content providers 70 having access to media content that is to be distributed to user equipment or set top boxes 50 present in the home network 1. These content providers 70 can be network-arranged, dedicated content providers or indeed represent consumer generated media in the form of media available from other users in their respective home networks.

The media is generally available to the home network 1 through one or more IPTV providers 80 and access providers 90. The former represents the network-implemented entity that provides IPTV services to the user of the IPTV system, whereas the latter provides the actual transport and access to the provided services to the home network 2.

The global network 2 illustrated in FIG. 1 should merely be seen as an illustrative example of a global network portion of an IPTV system. Other network solutions comprising more or less network entities than the ones illustrated in the figure can alternatively be used without any impact on the teachings of the embodiments. For instance, in some networks a single operator or server can take the role of all or some of the functionalities; content provider 70, IPTV provider 80 and access provider 90.

The home network 1, sometimes denoted as residential network or consumer network, can, in some embodiments, be based on Ethernet or one of the existing wire home networking technologies, such as Home Phoneline Networking Alliance (HomePNA) or the Telecommunication Standardization Sector (ITU-T) G.hn standard, which provides a possibility of creating high-speed local area network using existing home wiring.

The devices 20-60 of the home network 1 are generally interconnected to the global network 2 through a gateway (GW) 10 providing an interface between the two networks 1, 2. This gateway 10 operates in a similar way to a router in terms of forwarding data from the home network 1, such as user generated IPTV service requests, to the global network 2 and forwarding data from the global network 2, such as IPTV services and associated media, to the home network 1.

The home network 1 may optionally comprise a Home IP Multimedia Subsystem (IMS) gateway (HIGA) 20 generally managing IMS termination and interworking within the home network 1. The HIGA 20 can consequently have a wired or wireless connection to one or more IMS-capable devices 30, 40, non-limitedly represented by a mobile telephone 30 and a computer/laptop 40 in the figure.

The home network 1 further comprises one or more set top boxes (STB) 50 that are devices capable of processing and rendering the IPTV media. There is a vast number of different user equipment and user devices that can take the role of a set top box 50 in the home network 1. Some non-limiting examples include a decoder, computer, etc. having the capability of receiving media data from the IPTV provider 80 and gateway 10 and processing, i.e. decoding and rendering, the media data on an included or connected display screen 60. In contrast to traditional decoders and set top boxes in digital TV systems, in an IPTV system, the set top box 50 provides two-way communications on an IP network and allows for decoding streamed media. Also mobile devices, wirelessly communicating with the gateway 10, can operate as set top boxes according to the embodiments.

In the following, set top box 50 is used to denote any user equipment or device capable of being provided in a home network 1 and running applications for the purpose of providing IPTV services to one or more users and having functionality of processing IPTV-related media for display on a connected display screen 60, such as for the media form of video, images, text, etc., and/or play back by a connected loudspeaker, such as for the media form of audio.

IPTV should be interpreted broadly to encompass multimedia services, such as television, video, audio, text, graphics, data delivered over IP based networks to user equipment in a home network, where local processing, i.e. rendering and/or play back of the media is effected.

A set top box 50 generally comprises or is capable of running various IPTV-related applications providing IPTV services to the users. In traditional IPTV systems, these IPTV-related applications have mainly been in the form of embedded or native applications. Such embedded applications are locally installed in and run at the set top box 50. The set top box 50 can then be pre-equipped with such installed embedded applications or the application can be downloaded to the set top box 50 after installation in the home network 1. Examples of such embedded IPTV-related applications include chat applications, Electronic Program Guide (EPG) and Local Personal Video Recorder (IPVR) applications.

The trend in the field of IPTV is to complement or even possibly exchange the embedded applications with so called browser-based or web applications, often denoted as Declarative Application Environment (DAE) applications within the IPTV field. In clear contrast to an embedded application, a browser-based application is accessed via a web browser over a network, such as the Internet or an intranet. The browser-based application is generally a software application coded in a browser-supported language, such as HyperText Markup Language (HTML), JavaScript, Java, ECMAscript, etc. The browser-based application is reliant on a web browser to render the application executable.

A major advantage of browser-based applications over embedded applications is the ability to update and maintain the applications without distributing and installing software on each and every set top box 50 in the IPTV system.

Browser-based IPTV-related applications include, among others, chat applications and Network Personal Video Recorder (nPVR) applications.

Generally almost every IPTV application type can be provided both in the form of a browser-based application and as an embedded application. The latter type is typically pre-installed in the set top box and may originate from the manufacturer of the set top box or one of its partners. Browser-based applications generally have no connection to the manufacturer of the set top box but are rather more related to the IPTV service provider.

These varying types of IPTV-related applications put new demands on the set top boxes 50, in particular for cases where the same type of IPTV-related application, such as a chat application, can be available as an embedded application and as a browser-based application in the same set top box 50. Embodiments as disclosed herein effectively handle such challenges for the set top boxes 50.

FIG. 2 is a flow diagram illustrating a session managing method according to an embodiment. The method generally starts in step S1 where at least one IPTV-related application is registered in a registration table or register present in the home network, preferably locally in the set top box. This latter implementation location for the registration table is preferred as a home network can comprise multiple set top boxes with different types of IPTV-related applications available. For a semi-remote implementation of the registration table in the home network, such as in the HIGA or a home server present in the home network, each registration table should comprise an identifier of the particular set top box it relates to.

IPTV-related applications registered in the registration table in step S1 are IPTV-related applications that can be invoked at the set top box to provide services to a user. Non-limiting examples of such IPTV-related applications include:

-   EPG Electronic Program Guide—an on-screen guide to IPTV content and     media, allowing a user to navigate, select and discover media     content, for instance, by time, title, channel, genre, etc. -   login A login application that allows a new user to login to the     IPTV system. It typically logs out the current user when it is being     launched. -   PVR Personal Video Recorder—an application that records video in a     digital format to a disk drive or other memory medium. -   IPVR Local PVR—a PVR application that records video content locally     in the set top box or on a connected memory medium. -   nPVR Network PVR—a PVR application whereby the recorded video     content is stored in the IPTV Service Provider domain but allows the     user to schedule recording of scheduled content programs and can     later select the recorded content for rendering at the set top box. -   CoD Content on Demand—an application where a user can select the     individual content items they want to watch from a list of available     content, including the well-known case of Video on Demand (VoD). -   Scheduled Scheduled Content EPG—an application where the playout     schedule is fixed by an entity other than the user and the content     is delivered to the user for immediate consumption. -   IMS IP Multimedia Subsystem—an application for delivering IP     multimedia services to set top boxes and includes various     application examples, e.g. chats, instant messaging, presence     services, contact list services, etc.

The above presented examples of application types are defined by the Open IPTV Forum, release 1, but should merely be seen as illustrative examples of IPTV-related applications as defined by the invention. Thus, also other types of embedded or browser-based (DAE) applications currently not defined by the Open IPTV Forum can also be used in connection with the embodiments.

An IPTV-related application can generally be invoked and run during an ongoing IPTV session. For instance, a user watching video during a VoD session can receive a chat message from one of his/her friends during the VoD session. Alternatively, such a chat message could indeed be received and handled at the set top box outside an ongoing IPTV session by then starting a chat session, i.e. a new IPTV session, at the set top box.

The application registration in step S1 enters respective identifiers of the IPTV-related applications in the registration table. The registration table will consequently list the different IPTV-related applications that are available at the set top box, regardless of whether they are implemented locally in the set top box, i.e. embedded applications, or available in the form of browser-based applications.

The registration of the applications is advantageously conducted upon start up of the set top box or at least upon initiation of an IPTV session. Embedded applications are already present in the set top box and can consequently be registered in the registration table as a part of the firmware initialization sequence. Browser-based applications are only available once they are run in the browser environment. A registration thereof can consequently be performed by including a registration script in the initial web page, such as HTML/ECMAScript page, of the accessed application.

In a preferred embodiment, step S1 is performed as a dynamic operation implying that the registration table is updated when new applications, in particular browser-based applications, become available or older applications are no longer available at the set top box. Thus, the registration table is preferably not a static list but is dynamically updated to reflect the current set of browser-based and embedded applications that can be invoked by the set top box.

In a particular embodiment, the application registration of step S1 can be conducted by an Open IPTV Terminal Function (OITF) Application Programming Interface (API) present in the step top box. In a functional language, the OITF API runs the function ID registerOITFApplication (OITFApplication) to register an IPTV-related application in the registration table. Each IPTV-related application can then be handled as a so-called OITFApplication object defined, in a particular embodiment, below.

-   Number ID [R] ID is a unique identifier of an application -   String Appname [RW] Appname represents the name of the application,     such as “EPG” or “Chatting” -   String shortDescription [R] shortDescription provides a short     description of the application, such as maximum 30 characters -   String longDescription [R] longDescription provides a more detailed     description of the application, such as maximum 255 characters -   String type type indicates the type of the application, examples of     IPTV-related applications have been presented in the foregoing -   Object icon icon is an object with preferably two attributes:     -   .active providing a Uniform Resource Locator (URL) to an icon         when the application is active     -   .inactive providing a URL to an icon when the application is         inactive -   Boolean prioritized prioritized represents an invoker priority used     to determine what application to launch when several registered     applications meet the same criteria -   Object DAE DAE is an object that is present if the application is     browser-based and preferably comprises the following two attributes:     -   .callback providing a callback function that is performed when         the application should be activated     -   .URL representing the URL of the application and is optional if         the application is already running in the declarative         application environment, i.e. in a browser -   Object IMS IMS is an object that is present if the application is of     the IMS application type and preferably comprises the following     optional attributes:     -   .appid representing the IMS application identifier that can be         used to determine what application to launch when an IMS message         arrives with a certain application identifier. Alternatively an         IMS Application Reference Identifier (IARI) can be used.     -   .icsi representing the IMS communication service identifier that         can be used to determine what application to launch when an IMS         message arrives with a certain application identifier         .messagetypes providing an array of message types, such as         Session Initiation Protocol (SIP) message types, the application         handles and can be used to determine what application to launch         when .appid or .icsi are not present

FIG. 3 is a visual representation of a registration table 170 and the information that can be included therein for registered IPTV-related applications according to an embodiment. Consistent with the OITFApplication object presented above, the registration table 170 comprises the application identifier and preferably additional information in the form of the application name; application description, short and/or long (S/L) description; application type; icon(s) representing the active and/or passive application; a preferred invoker priority. The DAE field is preferably mandatory for browser-based applications but is preferably omitted or is empty for embedded applications. This DAE field can consequently be used as an effective and simple identifier in order to discriminate between browser-based and embedded applications. If present, i.e. for browser-based applications, the DAE field preferably comprises the callback and/or URL information described above. Correspondingly, the IMS field is preferably omitted or empty for non-IMS IPTV-related applications but is preferably mandatory for IMS applications. In the latter case, the IMS field can contain any of the above mentioned application identifier, IMS communication service identifier and message type information.

Returning to FIG. 2, once at least one application has been registered in the registration table, this table can be used for managing an IPTV session as disclosed by steps S2 and S3. The next step S2 detects an IPTV-related event requiring invocation or launching of an IPTV-related application at the set top box. Thus, the event detected in step S2 necessitates the activation of an inactive IPTV-related application or the launch or callback of an already active IPTV-related application at the set top box.

The detection in step S2 triggers the next step S3 that selects, based on and in response to the detected IPTV-related event, an IPTV-application using the registration table compiled in step S1. The application selected in step S3 is, thus, one of the IPTV-related applications registered in the registration table in step S1.

The detection of the IPTV-related event in step S2 consequently indicates the need for invoking an IPTV-related application at the set top box. In the prior art, the set top box had no indication of the different applications that were available for use on an IPTV-related event, in particular for an unsolicited or unexpected event. Furthermore, browser-based applications, possibly excluding a currently running browser-based application, would be unknown to the set top box. The prior art set top box were, in the case of a detected unsolicited event, limited to usage of any currently running IPTV-related application but had no information of any idle or inactive applications that could be invoked at the set top box.

The registration table of the embodiments solves these problems by providing a complete, relevant information source listing all active and inactive applications, preferably of both browser-based and embedded type, that can be invoked in response to the detected IPTV-related event. The registration table can, thus, be seen as a catalogue of available applications that can be selected to handle the IPTV-related event at the set top box. The particular application that is selected in step S3 can be a browser-based application or an embedded application, depending on the particular IPTV-related event and, as is further described herein, application and user preferences.

The IPTV-related application selected in step S3 based on the registration table is preferably invoked in the optional step S4 for the purpose of handling the detected IPTV-related event. The method then ends.

FIG. 4 is a flow diagram illustrating a particular embodiment of the event detecting step S2 in FIG. 2. The method continues from step S1 in FIG. 1. A next step S10 detects an unsolicited message. This message is received by the set top box and is typically forwarded thereto by the gateway and generally originates either from an IPTV network implemented device or another IPTV user. With an unsolicited message there is no active IPTV dialog or application, to which the message can be passed on. The reason is that the message is unexpected and the set top box and any currently running applications are not prepared to receive and process the unsolicited message. This means that it is not clear for the set top box, which application should be used to process the message and, as described above, which applications are available at the set top box and can be launched to process the message.

Unsolicited messages are typically IMS messages, such as chat requests or messaging services. These messages generally originate from another IPTV user that wants to initiate a communication session with the current user using the IPTV system.

A next step S11 extracts information in the form of application identifier from the unsolicited message, typically from the header portion thereof. This extracted information enables identification of the application type that should be invoked to process the message. The information useful as application identifier can, thus, be the previously described appid, icsi, iari and/or messagetypes attributes. Other types of information that can be used for identifying an application, in particular for non-IMS applications, include the appName and type data fields mentioned above.

The extracted application identifier is then compared in step S12 to corresponding application identifiers and information present in the registration table. Preferably one or more registered applications suitable for processing the unsolicited message are identified and one of them is selected in step S3 of FIG. 2.

The registration table is consequently used as a look-up table in connection with reception of unsolicited messages or upon detection of other unsolicited IPTV-related events requiring the invocation of an IPTV-related application. The registration table therefore comprises all the information that is required in order to verify what IPTV-related applications are potentially available at the set top box and what application or which applications are suitable for handling the received unsolicited message or the detected IPTV-related event.

In some cases there might be a conflict between multiple registered IPTV-related applications that potentially could be invoked upon detection of an IPTV-related event. For instance and with reference to FIG. 3, a chat request might have been received at the set top box and consequently requires the launching of a chat-based IMS-application. With the set top box having the registration table 170 illustrated in FIG. 3, two such chat applications have previously been registered. A first application is an embedded application whereas the second one is a browser-based application. There is, thus, a conflict between two different IPTV-related applications that both could be invoked in order to handle the chat request. A similar situation can of course also arise if multiple embedded and/or multiple browser-based applications are registered in the registration table 170 and these applications can be used to process a same IPTV-related event.

An embodiment solves this problem by introducing the previously mentioned invoker priority as a parameter or field in the registration table 170. The invoker priority can be regarded as policies or rules defining a preferred invocation order for multiple conflicting IPTV-related applications. Thus, if it is concluded that there are multiple available registered applications that could potentially be invoked in order to process a detected IPTV-related event, the invoker priorities for these applications are investigated and compared. The IPTV-related application meeting the requirements for invocation in response to the detected event and being most prioritized as determined from the comparisons of invoker priorities is then selected and invoked to handle the event.

Different types of invoker priorities can be used and are within the scope of the embodiments. For instance, simple numerical values in the form of integers can be used as illustrated in FIG. 3. In an embodiment, the lower the priority value, the higher priority the application has. Alternatively, more prioritized applications have higher priority values. As an example, a priority value of 0 could indicate low priority, 1 indicates medium priority and 2 indicates high priority. It is anticipated that at least two priority levels are preferably present, such as high versus low, although more than two different priority levels can indeed be used.

The invoker priorities for the registered IPTV-related applications can be determined according to various embodiments. In a first example, each application has a pre-defined default invoker priority that may be set by the manufacturer or distributor of the application. These default invoker priorities are then entered in the registration table 170 when registering the corresponding applications.

Alternatively, or in addition, the user of the set top box can set invoker priorities for at least some of the IPTV-related applications available through the set top box. The user can then choose which application that should be used for different types of IPTV-related event by giving higher priority to the preferred application or applications and/or setting lower priority to less preferred applications.

The user-conducted setting or change of priorities can preferably be conducted any time to thereby give possibilities of changing previously set invoker priorities. In an embodiment, the user could be urged to give an invoker priority the first time an IPTV-application is launched or implemented in the set top box. The set priority value is then stored together with the other application specific information for the IPTV-related application. The user, though, preferably has the possibility, as mentioned above, to change previously set invoker priorities.

If an IPTV-related application does not have any default invoker priority and the user has not yet set any priority for the application, the IPTV-related application could be given a pre-defined invoker priority once registered in the registration table 170. Such pre-defined invoker priority preferably corresponds to a medium or low priority.

The registration table can not only be used in order to select IPTV-related application to be invoked upon reception of unsolicited messages and detection of other unplanned/unscheduled IPTV-related events. A currently running IPTV-related application can use the registration table as an information source for finding a suitable application to launch in order to handle some of the processing in a current IPTV session. For instance, during an ongoing IPTV session displaying an electronic program guide to a user, audio media is required to be played out for the user. An audio player should thereby be invoked to handle this sub-process of the IPTV session. The EPG application can request information from the registration table in order to see whether any audio player has been registered and is therefore available at the set top box. An example could be to use the function Array of OITFApplication listOITFApplications( ) which returns an array of the registered IPTV-related applications. This array is reviewed and a suitable application is selected typically based on ID, appName, type, appid, icsi, iari and/or messagetypes and launched, for instance by the following function Boolean launchOITFApplication(ID), which launches the application having the entered application identifier ID.

The registration table can even allow an embedded application to invoke or launch a browser-based application to perform certain tasks during an IPTV session. Correspondingly, a browser-based application can use the registration table to identify and launch embedded applications.

These features have up to now not been possible in the art as a currently running IPTV-related application has not been aware of any other IPTV-related applications that are available and can be activated and invoked at the same set top box.

FIG. 5 schematically illustrates the flow diagram of this feature. The method continues from step S4 in FIG. 2, where an IPTV-related application has been selected and is currently active for an IPTV-session. During the ongoing session, there is a need for at least temporarily launching another IPTV-related application for the purpose of performing some tasks during the session. The registration table is used as the information source in step S20 in order to determine which applications are available and which particular IPTV-related application that should be launched. The selected application is then invoked in step S20. Note that there may consequently be multiple IPTV-related applications running in parallel during at least a portion of the IPTV session as the applications can launch other applications that generally become active only for handling the specific task and are then deactivated once more. Any of the information fields in the registration table, such as application name, application type, DAE- and IMS-fields, can be used in order to select the appropriate application to launch as mentioned above.

FIG. 6 is a schematic block diagram of a set top box 50 or other user equipment or device suitable for arrangement and operation in a home network. The set top box 50 comprises a unit or functionality 52 for communicating with other devices in the home network, in particular the optional gateway. This unit is represented as a general input and output (I/O) unit 52 in the figure. In practice, the I/O unit 52 could be a general input and output interface for a wired connection with external and remote devices or in the form of a receiver/transmitter or transceiver for wireless connection. The set top box 50 typically comprises one or more embedded applications 54 that are generally software implemented and stored in a memory of the set top box 50. A web browser application 56 is also able to be invoked in the set top box 50 and is employed for the purpose of running browser-based applications.

A session manager 100 of an embodiment is implemented in the set top box 50 for managing the registration table 170 that is being stored in a connected memory 58. The operation of this session manager 100 is further described in connection with FIG. 7.

FIG. 6 merely illustrates the units and functionalities that are directly involved in the generation and usage of the registration table. It is therefore anticipated that additional units and functionalities may indeed be present and implemented in the set top box 50.

The units 52 and 100 of the set top box 50 may be implemented in hardware, software or a combination of hardware and software.

FIG. 7 is a schematic block diagram of a session manager 100 according to an embodiment. The session manager 100 comprises an application register 110 for registering at least one IPTV-related application in a registration table preferably stored in a memory of the set top box, in which the session manager 100 is arranged. Alternatively, the register-storing memory could constitute a part of the session manager 100 or indeed be provided in some other device of the home network. The application register 110 registers at least a respective identifier of the IPTV-related applications in the registration table, although it is generally preferred to include additional descriptive information as discussed above and illustrated in FIG. 3. The application register 110 may constitute a so-called DAE API having the functionality of registering DAE applications, i.e. browser-based applications, and preferably also embedded applications. The registration table is then advantageously implemented locally in the OITF. The registration of the applications is preferably performed at OITF start up. For embedded applications, this may be part of the OITF system firmware initialization sequence and for DAE applications, the registration scripts may be included in the initial HTML/ECMAScript page of the accessed application from an IPTV application function. This approach allows for new DAE applications to be introduced in the registration table and for existing ones to be removed by updating the IPTV application initial page. Preferably, the addition or removal of applications can be effected when the OITF is restarted.

An event detector 120 is preferably present in the session manager 100 for the purpose of detecting an IPTV-related event requiring invocation of an IPTV-related application at the set top box. This detected event can advantageously be the reception of an unsolicited message from a global network connected to the home network comprising the set top box and the session manager 100. A further example is the detection of the need of a currently running IPTV-related application for launching another IPTV-related application during an ongoing session. The event detector 120 triggers an application selector 130 to look-up the registration table maintained by the application register 110 in order to select a registered IPTV-related application that can be invoked in order to handle the detected IPTV-related event.

An optional but preferred application invoker or launcher 140 is provided for invoking the IPTV-related application selected by the application selector 130 among the once registered in the registration table.

The session manager 100 optionally comprises an identifier extractor 150 arranged for processing unsolicited messages. The identifier extractor 150 in particular extracts an application identifier or any other information from the unsolicited message that can be used for the purpose of identifying a suitable IPTV-related application to invoke to handle the unsolicited message. The extracted application identifier is forwarded to an optional identifier comparator 160 implemented for comparing the extracted application identifier with corresponding identifiers or information present in the registration table. The application selector 130 identifies and selects the IPTV-related application from the registration table based on the comparison conducted by the identifier comparator 160.

The application register 110 preferably comprises or is connected to a priority register 115 arranged for registering invoker priorities for the IPTV-related applications in the registration tables. The priority register 115 conducts this registration based on input information, such as user input manually entered by the user by means of a suitable input device of or connected to the set top box, e.g. a remote control, a key board, a mouse, a touch sensitive screen, etc. Alternatively, or in addition, IPTV-applications can have associated default invoker priorities in the descriptive information relating to the applications. The priority register 115 then fetches the information there from and enters it in the registration table. Additionally, if no input information is available for an IPTV-related application, the priority register 115 can be pre-configured to set a pre-defined invoker priority value to that particular application.

The entered invoker priorities are used by the application selector 130 in the case of multiple alternative applications that could be invoked in response to an IPTV-related event detected by the event detector 120 as previously described.

The units 110 to 160 of the session manager 100 may be implemented in hardware, software or a combination of hardware and software. The units 110 to 160 may all be implemented in the IPTV session manager 100. Alternatively, a distributed implementation with at least one of the units provided elsewhere in the set top box comprising the IPTV session manager 100 is also possible.

For a software implemented embodiment, the session managing functionality may be embodied on a computer-readable medium or memory, such as a hard drive of a computer or other set top box, ROM, RAM.

The embodiments described above are to be understood as a few illustrative examples of the present invention. It will be understood by those skilled in the art that various modifications, combinations and changes may be made to the embodiments without departing from the scope of the present invention. In particular, different part solutions in the different embodiments can be combined in other configurations, where technically possible. The scope of the present invention is, however, defined by the appended claims. 

The invention claimed is:
 1. A session managing method, comprising: registering, in a registration table, at least one Internet Protocol Television (IPTV)-related application that can be invoked at a set top box present in a home network such that the registration table comprises a respective identifier of the at least one IPTV-related application; detecting an IPTV-related event requiring invocation of an IPTV-related application at the set top box; and selecting, based on the IPTV-related event, an IPTV-related application registered in the registration table to be invoked during an IPTV session; wherein registering the at least one IPTV-related application comprises registering, in the registration table, a browser-based application received in the set top box from a global network connected to the home network, the browser-based application being invokable based on a first IPTV-related event, and an embedded application invokable based on the first IPTV-related event; the registration table comprises a respective identifier and a respective invoker priority of the browser-based application and the embedded application; detecting the IPTV-related event comprises detecting the first IPTV-related event requiring activation of the IPTV-related browser-based application or the IPTV-related embedded application; and selecting the IPTV-related application comprises selecting between the browser-based application and the embedded application based on the respective invoker priorities and the respective identifiers of the browser-based application and the embedded application.
 2. The method of claim 1, further comprising invoking the IPTV-related application selected from the registration table.
 3. The method of claim 1, wherein detecting the IPTV-related event comprises receiving an unsolicited message from a global network connected to the home network.
 4. The method of claim 3, wherein selecting the IPTV-related application comprises: extracting an application identifier from the unsolicited message; comparing the application identifier with identifiers of IPTV-related applications registered in the registration table; and selecting the IPTV-related application registered in the registration table based on the comparison.
 5. The method of claim 1, wherein registering the at least one IPTV-related application comprises registering, in the registration table, a browser-based application received in the set top box from a global network connected to the home network.
 6. The method of claim 5, wherein registering the browser-based application comprises running a registration script in an initial script page of the browser-based application received from the global network.
 7. The method of claim 1, wherein the embedded application is registered during a firmware initialization sequence conducted at the set top box.
 8. The method of claim 1, further comprising registering, in the registration table, the respective invoker priorities of the browser-based application and the embedded application based on user input information.
 9. A session managing method, comprising: registering, in a registration table, at least one Internet Protocol Television (IPTV)-related application that can be invoked at a set top box present in a home network such that the registration table comprises a respective identifier of the at least one IPTV-related application; detecting an IPTV-related event requiring invocation of an IPTV-related application at the set top box; and selecting, based on the IPTV-related event, an IPTV-related application registered in the registration table to be invoked during an IPTV session; wherein registering the at least one IPTV-related application comprises registering, in the registration table, an embedded application installed at the set to box and registering, in the registration table, a browser-based application received in the set top box from a global network connected to the home network, and the method further comprises: invoking one of the browser-based application and the embedded application selected based on the IPTV-related event; and the one of the browser-based application and the embedded application invoked launches the other of the browser-based application and the embedded application based on the registration table.
 10. A session manager for a set-top box, comprising: an application register arranged to register, in a registration table, at least one Internet Protocol Television (IPTV)-related application that can be invoked at the set top box such that the registration table comprises a respective identifier of the at least one IPTV-related application; an event detector arranged to detect an IPTV-related event requiring invocation of an IPTV-related application at the set to box; and an application selector arranged to select, based on the IPTV-related event, an IPTV-related application registered in the registration table to be invoked during an IPTV session at the set top box; wherein the application register is arranged to register, in the registration table, an embedded application installed at the set top box and a browser-based application received in the set top box from a global network connected to a home network that includes the set top box; the browser-based application is invokable based on a first IPTV-related event; the embedded application is invokable based on the first IPTV-related event; the registration table comprises a respective identifier and a respective invoker priority of the browser-based application and the embedded application; the event detector is arranged to detect the first IPTV-related event requiring activation of the IPTV-related browser-based application or the IPTV-related embedded application; and the application selector is arranged to select between the browser-based application and the embedded application based on the respective invoker priorities and respective identifiers of the browser-based application and the embedded application.
 11. The session manager of claim 10, further comprising an application invoker arranged to invoke the IPTV-related application selected by the application selector from the registration table.
 12. The session manager of claim 10, wherein the event detector is arranged to detect reception of an unsolicited message from a global network connected to a home network that includes the set top box.
 13. The session manager of claim 12, further comprising: an identifier extractor arranged to extract an application identifier from the unsolicited message; and an identifier comparator arranged to compare the application identifier with identifiers of IPTV-related applications registered in the registration table; wherein the application selector is arranged to select the IPTV-related application registered in the registration table based on a comparison performed by the identifier comparator.
 14. The session manager of claim 10, wherein the application register is arranged to register, in the registration table, a browser-based application received in the set top box from a global network connected to a home network that includes the set top box.
 15. The session manager of claim 14, wherein the application register is arranged to register the browser-based application by running a registration script on an initial script page of the browser-based application received from the global network.
 16. The session manager of claim 10, wherein the application register is arranged to register the embedded application during a firmware initialization sequence conducted at the set top box.
 17. The session manager of claim 10, further comprising a priority register arranged to register, in the registration table, the respective invoker priorities of the browser-based application and the embedded application based on user input information.
 18. The session manager of claim 10, wherein the session manager further comprises an application invoker arranged to invoke one of the browser-based application and the embedded application selected based on the IPTV-related event; and the one of the browser-based application and the embedded application selected is arranged to launch the other of the browser-based application and the embedded application based on the registration table. 